import { createRouter, createWebHistory } from 'vue-router'
import BankHome from '@/views/Home.vue'

const routes = [
  {
    path: '/',
    name: 'BankHome',
    component: BankHome
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/Login.vue'),
    meta: { hideNavbar: true }
  },
  {
    path: '/bank-statement',
    name: 'BankStatement',
    component: () => import('@/views/bankstatement/BankStatement.vue')
  },
  {
    path: '/template-management',
    name: 'TemplateManagement',
    component: () => import('@/views/template/TemplateManagement.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('@/views/About.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router